<?php

namespace App\Admin\Extensions\Tools;
use App\crm_duanxin;
use Encore\Admin\Admin;
use Encore\Admin\Grid\Tools\AbstractTool;
use Illuminate\Support\Facades\Request;

class DuanxinykGender extends AbstractTool
{
    protected function script()
    {
        $url = Request::fullUrlWithQuery(['gender' => '_gender_']);
    }

    public function render()
    {
        Admin::script($this->script());
        $list=crm_duanxin::all();
        return view('admin.tools.duanxinyk',['list'=>$list]);
    }
}